def build_filters(model, is_deleted=True, fuzzy_fields = None, **kwargs):
    """
    动态生成过滤条件。

    :param model: SQLAlchemy 模型类
    :param is_deleted: 是否包含默认的 is_deleted 条件
    :param kwargs: 需要过滤的字段及其对应的值（可选）
    :return: 过滤条件的列表
    """
    filters = []
    if is_deleted:
        filters.append(model.is_deleted == False)

    fuzzy_fields = fuzzy_fields or []
    


    for field, value in kwargs.items():
        
        if field in fuzzy_fields and value:
            filters.append(getattr(model, field).like(f"%{value}%"))
        else:
            if value is not None:
                filters.append(getattr(model, field) == value)

    return filters
